#集群地址
discovery.zen.ping.unicast.hosts: ["{{ansible_default_ipv4.address}}"]
# 超时时间
discovery.zen.ping_timeout: 120s 
#客户端超市时间
client.transport.ping_timeout: 60s
#主节点数
discovery.zen.minimum_master_nodes: 1
#集群名称
cluster.name: {{elasticsearch.cluster_name}}
#节点名称
node.name: {{elasticsearch.node_name}}
#日志路径
path.data: {{elasticsearch.data_dir}}
path.logs: {{elasticsearch.log_dir}}
#监听ip端口
network.host: {{ansible_default_ipv4.address}}
http.port: 9200
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
http.cors.enabled: true
http.cors.allow-origin: "*"
